/*
#include<iostream>
#include<vector>
using namespace std;
int main()
{
	vector<int>v;
	for(int i=1;i<=10;i++)
	{
		v.push_back(i);
	}
	for(vector<int>::iterator it=v.begin();it!=v.end();it++)
	{
		cout<<*it<<endl;
	}
	return 0;
}
*/

/*
#include<iostream>
#include<vector>
using namespace std;
class  person
{
	public:
		person(int age,string name)
		{
			m_age=age;
			m_name=name;
		}
	public:
		int m_age;
		string m_name;

};
int main()
{
	person p1(10,"zhanghongjian");
	person p2(20,"jikeyu");
	person p3(40,"shebohan");
	person p4(30,"douzhihao");
	vector<person>v;
	v.push_back(p1);
	v.push_back(p2);
	v.push_back(p3);
	v.push_back(p4);
	for(vector<person>::iterator it=v.begin();it!=v.end();it++)
	{
		cout<<"name:"<<(*it).m_name<<' '<<"age:"<<(*it).m_age<<endl;
		
	}
	return 0;
}
*/





























